package com.zy.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/user")
public class UserController {
    @PostMapping(value = "/login")
    public String getUser(String name, String password){
        return "登录成功";
    }
}
